package com.qk.common.exception;

import com.qk.common.Result;
import com.qk.common.enums.Code;

public class CommomException extends BaseException{
public CommomException(Code code) {
    super(code.getMsg());
}
public static void throwException(Code code){
    throw new CommomException(code);

}
}
